package atm.dao;

import atm.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据用户名和密码查询用户
     * @param username
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd(String username,String pwd);
    UserDO getById(int id);
    void update(UserDO userDO);
    UserDO  getByUserAccount(String account);
    UserDO getByName(String name);
    void update(UserDO users, UserDO otherUsers);
}
